#define _CRT_SECURE_NO_WARNINGS 1
#include"BinarySearchTree.h"

int main()
{
	int arr[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	BSTree<int> t;
	for (auto x : arr)
	{
		t.Push(x);
	}
	
	t.Print();
	for (auto x : arr)
	{
		t.Enrase(x);
		t.Print();
	}
 	return 0;
}